package com.supermarket;

import com.supermarket.properties.MinioProperties;
import com.supermarket.properties.UserAuthProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;


@Slf4j
@SpringBootApplication
@EnableScheduling
@EnableConfigurationProperties({UserAuthProperties.class, MinioProperties.class})
public class SupermarketApplication {
    public static void main(String[] args) {
        SpringApplication.run(SupermarketApplication.class, args);
        log.info("server started");
    }
}
